from symbide import ModuleManager

def matplot_toxml():
    if ModuleManager.hasModule('pylab'):
        from matplot import toxml
        return toxml()
    else:
        return 'Matplotlib not found!'